package com.explorati.design_pattern.behavior.chainofresponsibility.example;

public class DrumBeater {

	public static void main(String[] args) {
		// 创建一个链(这里必须带参传递直到最后一个人)
		Player player = new PlayerA(new PlayerB(new PlayerC(null)));
		player.handle(3);
	}
}
